package com.design.pattern.strategy.promotion;/** * create by yufeng on 2021/7/5 17:32 */public class Test {    public static void main(String[] args) {        String promotionKey = "COUPON";        IPromotionStrategy promotionStrategy = PromotionStrategyFacory.getPromotionStrategy(promotionKey);        promotionStrategy.doPromotion();    }}